<?php


namespace app\common\model;


class CardLevel extends Base
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'card_level';


    /**
     * 获取列表  不分页
     */
    public static function getAllList($where = [],$field='*',$order='',$limit = '0')
    {
        $data = self::where($where)
            ->field($field)
            ->order($order)
            ->limit($limit)
            ->select();
        return $data;
    }
}